package com.lj.universalframework.enum

/**
 * @ClassName NetworkStatus
 * @Description 网络连接状态
 * @Author LJ
 * @Date 2022/9/23 10:15
 * @Version 1.0
 */
enum class NetworkStatus(val type: String) {
    CONNECT("连接-有网"),
    CONNECT_NO_NETWORK("连接-无网"),
    DISCONNECT("断开")
}

/**
 * @ClassName NetworkStatus
 * @Description 网络类型
 * @Author LJ
 * @Date 2022/9/23 10:15
 * @Version 1.0
 */
enum class NetworkType(val type: String) {
    MOBILE_NETWORK("移动网络"),
    WIFI_NETWORK("WIFI网络"),
    UNKNOWN_NETWORK("未知网络"),
    NO_NETWORK("无网络")
}


/**
 * @ClassName NetworkStatus
 * @Description 网络变化
 * @Author LJ
 * @Date 2022/9/23 10:15
 * @Version 1.0
 */
enum class NetworkChanges(val type: String) {
    MOBILE_NETWORK("初始移动网络"),
    WIFI_NETWORK("初始WIFI网络"),
    UNKNOWN_NETWORK("初始未知网络"),
    NO_NETWORK("初始无网络"),

    NONE_MOVE("无->移动"),
    NONE_WIFI("无->WIFI"),
    NONE_UNKNOWN("无->未知"),

    MOVE_NONE("移动->无"),
    MOVE_WIFI("移动->WIFI"),
    MOVE_UNKNOWN("移动->未知"),

    WIFI_NONE("WIFI->无"),
    WIFI_MOVE("WIFI->移动"),
    WIFI_UNKNOWN("WIFI->未知"),

    UNKNOWN_NONE("未知->无"),
    UNKNOWN_MOVE("未知->移动"),
    UNKNOWN_WIFI("未知->WIFI"),
}